/* assets/loading.css */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    background-color: #fff;
    animation: hiden 0.5s forwards;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid $menu-background;
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes hiden {
    to {
        position: absolute; /* 确保元素不占据空间 */
        z-index: -999;
        display: none;
        visibility: hidden; /* 临时隐藏元素 */
    }
}
